package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.pojo.AlertRule;

import java.util.List;

/**
 * alertRuleService接口
 * 
 * @author alexis
 * @date 2025-06-02
 */
public interface IAlertRuleService extends IService<AlertRule>
{
    /**
     * 查询alertRule
     * 
     * @param id alertRule主键
     * @return alertRule
     */
    public AlertRule selectAlertRuleById(Long id);

    /**
     * 查询alertRule列表
     * 
     * @param alertRule alertRule
     * @return alertRule集合
     */
    public List<AlertRule> selectAlertRuleList(AlertRule alertRule);

    /**
     * 新增alertRule
     * 
     * @param alertRule alertRule
     * @return 结果
     */
    public int insertAlertRule(AlertRule alertRule);

    /**
     * 修改alertRule
     * 
     * @param alertRule alertRule
     * @return 结果
     */
    public int updateAlertRule(AlertRule alertRule);

    /**
     * 批量删除alertRule
     * 
     * @param ids 需要删除的alertRule主键集合
     * @return 结果
     */
    public int deleteAlertRuleByIds(Long[] ids);

    /**
     * 删除alertRule信息
     * 
     * @param id alertRule主键
     * @return 结果
     */
    public int deleteAlertRuleById(Long id);
}
